// 引入koa-router
const Router = require('koa-router')
const router = new Router({ prefix:'/api/consume' })
const {fastConsume,goodsConsume,vipConsume,changeScore} = require('../../controller/consume.controller')
// 快速消费
router.post('/fastconsume',fastConsume)
// 商品消费
router.post('/goodsconsume',goodsConsume)
// 会员充值
router.post('/vipconsume',vipConsume)
// 添加订单 
router.post('/changescore',changeScore)
module.exports = router 